#!/bin/bash

### 打包
cd ~/dsoframer/dsoframer
git pull
mvn clean package

### 解压
cd ~/dsoframer
mv dsoframer/target/dsoframer.war .
rm -rf WEB-INF/ META-INF/ org/ *.gz
unzip dsoframer.war
rm -rf dsoframer.war

## 重启
./restart.sh
